$(function(){
/*套餐选择，默认选中第一项*/
	$(".shebei3_bdul a:eq(0)").find(":last-child").css({"background":"#14d212","border":"none"});
	var shebei3taocanval=1;
	$(".shebei3_bdul a").each(function(n){
		$(this).click(function(){
			if($(this).children("span").children("input").is(":checked")){
				$(this).children(":last-child").css({"background":"#FFF","border":"1px solid #999"});
				$(this).children("span").children("input")[0].checked=false;
			}else{
				$(this).children(":last-child").css({"background":"#14d212","border":"none"});
				$(this).children("span").children("input")[0].checked=true;
				//得到value值
				shebei3taocanval+=parseInt($(this).children("span").children("input").val());
			}
			
		})
	});;;;;
	//点击保存，出现支付二维码
	$(".shebei3_erweima").hide();
	$("#shebei3_button").click(function(){
		$(".shebei3_erweima").stop().show();
	})
	
});;;;;